package com.ibeetl.admin.core.entity;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

/*
*  用户角色关系
* gen by beetlsql 2016-11-22
*/
public class CoinDetail extends BaseEntity {

    // 自增id
	@SeqID(name = "ORACLE_CORE_SEQ_NAME")
	@AutoID
    private Long id;
    // 授权机构id
    @NotNull(message = "用户openId不能为空")
    private String openId;
    
    private String orderNo;
    
    @NotNull(message = "type不能为空")
    private String type;
    
    // 授权角色id
    @NotNull(message = "score不能为空")
    private double score;

    private int level;
    
    private String beShareId;
    
    private Date expireTime;
    
    private String creator;
    
    private Date createTime;
    
    private String deleteStatus;
    
    private Date deleteTime;
    
    private Long useredScore;

    private String note;
    
    
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getBeShareId() {
		return beShareId;
	}

	public void setBeShareId(String beShareId) {
		this.beShareId = beShareId;
	}

	public Date getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(Date expireTime) {
		this.expireTime = expireTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDeleteStatus() {
		return deleteStatus;
	}

	public void setDeleteStatus(String deleteStatus) {
		this.deleteStatus = deleteStatus;
	}

	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public Long getUseredScore() {
		return useredScore;
	}

	public void setUseredScore(Long useredScore) {
		this.useredScore = useredScore;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

    


}
